-
Notifications
You must be signed in to change notification settings - Fork 175
Add Temporal Cloud OpenMetrics Prometheus+Grafana demo with scenario workflows #766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| public static final String NAMESPACE = env("TEMPORAL_NAMESPACE", "deepika-test-namespace.a2dd6"); | ||
|
|
||
| public static final String ADDRESS = | ||
| env("TEMPORAL_ADDRESS", "deepika-test-namespace.a2dd6.tmprl.cloud:7233"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹
| env("TEMPORAL_ADDRESS", "deepika-test-namespace.a2dd6.tmprl.cloud:7233"); | ||
|
|
||
| public static final String CERT = | ||
| env("TEMPORAL_CERT", "/Users/deepikaawasthi/temporal/temporal-certs/client.pem"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹
| env("TEMPORAL_CERT", "/Users/deepikaawasthi/temporal/temporal-certs/client.pem"); | ||
|
|
||
| public static final String KEY = | ||
| env("TEMPORAL_KEY", "/Users/deepikaawasthi/temporal/temporal-certs/client.key"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹
| private TemporalConnection() {} | ||
|
|
||
| // add your namespace here | ||
| public static final String NAMESPACE = env("TEMPORAL_NAMESPACE", "deepika-test-namespace.a2dd6"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹
What was changed
temporalcloudopenmetricsdemo that shows how to scrape Temporal Cloud OpenMetrics with Prometheus and visualize in Grafana.Why?
To provide an end-to-end, copy/paste friendly reference for Temporal Cloud customers who want to:
Checklist
docker compose up -dand verified:http://localhost:3001and the dashboard is presenthttp://localhost:9093and scrape target isUP./gradlew -q execute -PmainClass=io.temporal.samples.temporalcloudopenmetrics.WorkerMain./gradlew -q execute -PmainClass=io.temporal.samples.temporalcloudopenmetrics.Starter